package VN.EDU.IMIC.DEVELOPER.TRANTHITHANHNGA.EXAM01.TASK2;

public class Student_Controllers implements IMICInterface{
private Student_Models mObj;
private Student_Entity Obj;


	public Student_Controllers(Student_Entity obj) {
	Obj = obj;
	mObj = new Student_Models();
}

	@Override
	public String printStudentInfo(Object obj) {
		Student_Entity Obj = (Student_Entity) obj;
		return mObj.yieldStudentInfo(Obj);
	}

	@Override
	public String checkMark(Object obj) {
		Student_Entity Obj = (Student_Entity) obj;
		return mObj.yieldMark(Obj);
	}

	@Override
	public boolean compareTo(Object obj1, Object obj2) {
		Student_Entity Obj1 = (Student_Entity) obj1;
		Student_Entity Obj2 = (Student_Entity) obj2;
		return mObj.checkCompareTo(Obj1, Obj2);
	}



}
